﻿<script src="~/Views/ZLYJ/Add.js"></script>

<div class="page__hd">
    <h1 class="page__title">办理业务网上预审资料</h1>
    <p class="page__desc"></p>
</div>

<div class="page__bd page__bd_spacing">
    <div class="weui-cells__title">请选择办理事项（必选）</div>
    <div class="weui-cells weui-cells_form">
        <div class="weui-cell weui-cell_select">
            <div class="weui-cell__bd">
                <select class="weui-select" id="YwId"  onChange="changeYw(this.value)">
                    <option selected="" value="999">请选择</option>
                </select>
            </div>
        </div>
    </div>
    <div class="weui-cells__title">请选择预审部门（必选）</div>
    <div class="weui-cells weui-cells_form">
        <div class="weui-cell weui-cell_select">
            <div class="weui-cell__bd">
                <select class="weui-select" id="DepartmentId">
                    <option selected="" value="999">请选择</option>
                </select>
            </div>
        </div>
    </div>

    <div class="weui-cells__title">请填写您的资料（必填）</div>
    <div class="weui-cells weui-cells_form">
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">姓名</label></div>
            <div class="weui-cell__bd">
                <input id="Name" class="weui-input" type="text" placeholder="请输入您的姓名">
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">身份证号</label></div>
            <div class="weui-cell__bd">
                <input id="IdNumber" class="weui-input" type="number" pattern="[0-9]*" placeholder="请输入您的身份证号">
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">联系方式</label></div>
            <div class="weui-cell__bd">
                <input id="Tel" class="weui-input" type="number" pattern="[0-9]*" placeholder="请输入您的联系电话">
            </div>
        </div>
    </div>
    <div class="weui-cells__title">申请理由（必填）</div>
    <div class="weui-cells weui-cells_form">
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <textarea id="Sqly" class="weui-textarea" placeholder="申请理由" rows="3"></textarea>
            </div>
        </div>
    </div>
    <div class="weui-cells__title" id="AddDialogs">
        材料上传（必填）<a href="#">所需材料</a>     
    </div>
    <div class="weui-cells weui-cells_form">
        <div class="weui-cell">
            <div class="weui-uploader">
                <div class="weui-uploader__bd">
                    <input id="Pics" type="hidden" />
                    <ul class="weui-uploader__files" id="uploaderFiles"> </ul>
                    <div class="weui-uploader__input-box">
                        <input type="file" id="uploaderInput" accept="image/jpeg,image/jpg;capture=camera" class="weui-uploader__input" />
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <div class="weui-btn-area" style="text-align:center;">
        <a class="weui-btn weui-btn_mini weui-btn_primary" id="btnSave">确认提交</a>
    </div>
    </div>

<!--BEGIN toast-->
<div id="toast" style="display: none;">
    <div class="weui-mask_transparent"></div>
    <div class="weui-toast">
        <i class="weui-icon-success-no-circle weui-icon_toast"></i>
        <p class="weui-toast__content">提交成功</p>
    </div>
</div>
<!--end toast-->


<div id="dialogs">
    <div class="js_dialog" id="androidDialog1" style="display: none;">
        <div class="weui-mask"></div>
        <div class="weui-dialog weui-skin_android">
            <div class="weui-dialog__hd"><strong class="weui-dialog__title">所需材料</strong></div>
            <div id="yw_ApplicationMaterials" class="weui-dialog__bd"></div>
            <div class="weui-dialog__ft">                
                <a class="weui-dialog__btn weui-dialog__btn_default">已经清楚</a>
            </div>
        </div>
    </div>
</div>